// SiteTableRecord.cpp: implementation of the SiteTableRecord class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "SiteTableRecord.h"

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
using namespace PDMS::PDMSDBIF;

SiteTableRecord::SiteTableRecord()
{
	m_lID = 0;
	m_lParentID = 0;
	m_strDescription = _T("unset");
	m_strPurpose = _T("unset");
	m_strFunction = _T("unset");
	m_strModule = _T("unset");
	m_iNumber = 0;
	m_iArea = 0;
	m_strRlstored = _T("Unset");

	m_bIsIDModified = FALSE;
	m_bIsParentIDModified = FALSE;
	m_bIsDescriptionModified = FALSE;
	m_bIsPurposeModified = FALSE;
	m_bIsFunctionModified = FALSE;
	m_bIsNumberModified = FALSE;
	m_bIsAreaModified = FALSE;
	m_bIsModuleModified = FALSE;
	m_bIsRlstoredModified = FALSE;
}

SiteTableRecord::~SiteTableRecord()
{

}

unsigned long SiteTableRecord::GetID()
{
	return m_lID;
}

unsigned long SiteTableRecord::GetParentID()
{
	return m_lParentID;
}

const StdString& SiteTableRecord::GetDescription()
{
	return m_strDescription;
}

const StdString& SiteTableRecord::GetPurpose()
{
	return m_strPurpose;
}

const StdString& SiteTableRecord::GetFunction()
{
	return m_strFunction;
}

int SiteTableRecord::GetNumber()
{
	return m_iNumber;
}

int SiteTableRecord::GetArea()
{
	return m_iArea;
}

const StdString& SiteTableRecord::GetModule()
{
	return m_strModule;
}

const StdString& SiteTableRecord::GetRlstored()
{
	return m_strRlstored;
}
